package com.wn.class30.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * business
 * @author 
 */
@NoArgsConstructor
@Data
public class Business implements Serializable {
    /**
     * 商家id
     */
    private Integer businessId;

    /**
     * 商家名字name
     */
    private String businessName;

    /**
     * 商家电话
     */
    private String businessTel;

    /**
     * 商家地址
     */
    private String businessAddr;

    /**
     * 商家状态
     */
    private Integer businessStatus;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * latitude
     */
    private Double latitude;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", businessId=").append(businessId);
        sb.append(", businessName=").append(businessName);
        sb.append(", businessTel=").append(businessTel);
        sb.append(", businessAddr=").append(businessAddr);
        sb.append(", businessStatus=").append(businessStatus);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}